Namespace Bring2mind.DNN.Modules.Questionnaire
 Public Class Query

#Region " Private Members "
  Private _detailId As String = ""
  Private _sortKey As String = ""
  Private _pageIndex As String = ""

#End Region

#Region " Contructor "
  Public Sub New(ByRef Request As HttpRequest)

   If Not Request.Params("DetailId") Is Nothing Then
    _detailId = Request.Params("DetailId")
   End If

   If Not Request.Params("SortKey") Is Nothing Then
    _sortKey = Request.Params("SortKey")
   End If

   If Not Request.Params("PageIndex") Is Nothing Then
    _pageIndex = Request.Params("PageIndex")
   End If

  End Sub
#End Region

#Region " Properties "
  Public ReadOnly Property DetailId() As String
   Get
    Return _detailId
   End Get
  End Property

  Public ReadOnly Property SortKey() As String
   Get
    Return _sortKey
   End Get
  End Property

  Public ReadOnly Property PageIndex() As String
   Get
    Return _pageIndex
   End Get
  End Property
#End Region

 End Class
End Namespace